/*
 * Copyright 2017 Baiyyy
 * @(#)ColdStorageService.java
 */

package com.byyy.ccts.modules.ysjl.service.impl;

import com.byyy.ccts.core.common.service.impl.CommonServiceImpl;
import com.byyy.ccts.modules.ysjl.entity.YsjlUserAbility;
import com.byyy.ccts.modules.ysjl.mapper.YsjlUserAbilityMapper;
import com.byyy.ccts.modules.ysjl.service.IYsjlUserAbilityService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by DELL on 2018-6-13.
 */
@Transactional
@Service("ysjlUserAbilityService")
public class YsjlUserAbilityService extends CommonServiceImpl<YsjlUserAbilityMapper, YsjlUserAbility> implements IYsjlUserAbilityService {

    @Override
    public List<YsjlUserAbility> queryByUserId(String userId) {
        return this.baseMapper.queryByUserId(userId);
    }
}
